package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;

@Mapper
public interface OrderSettingMapper {

    //根据日期查询预约设置
    @Select("select * from t_ordersetting where orderDate=#{orderDate}")
    OrderSetting findByOrderDate(Date orderDate);


}
